package com.yike.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yike.user.entity.Banner;
import com.yike.user.param.BannerPageParam;

import com.yike.user.vo.BannerVo;
import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java.io.Serializable;

/**
 * 轮播图表 Mapper 接口
 *
 * @author Sakura
 * @since 2024-09-12
 */
@Mapper
public interface BannerMapper extends BaseMapper<Banner> {

    IPage<BannerVo> getBannerList(@Param("page") Page page,
                                  @Param("param") BannerPageParam param);


}
